package com.sali.schedule;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @author: sali
 * @date: 2025/1/4 下午7:48.
 * @version: 1.0
 */
@Component
@Slf4j
public class TaskJob {


    @Scheduled(cron = "*/5 * * * * ?")
    public void job() {
        log.info("Hello, Sali");
    }

}
